package com.survey.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.survey.common.annotation.Excel;
import com.survey.common.core.domain.BaseEntity;

/**
 * 学校信息对象 sur_school
 *
 * @author ruoyi
 * @date 2024-12-23
 */
public class SurSchool extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 学校ID
     */
    private Long schoolId;

    /**
     * 学校名称
     */
    @Excel(name = "学校名称")
    private String schoolName;

    /**
     * 学校类型
     */
    private Long schoolType;

    /**
     * 学校类型名称
     */
    @Excel(name = "学校类型")
    private String schoolTypeName;

    /**
     * 学校地区id
     */
    private Long regionId;

    /**
     * 学校地区名称
     */
    @Excel(name = "学校地区")
    private String regionName;

    /**
     * 学校地址
     */
    @Excel(name = "学校地址")
    private String schoolAddress;

    /**
     * 学校联系电话
     */
    @Excel(name = "学校联系电话")
    private String schoolPhone;

    /**
     * 学校的问题总数
     */
    private Integer issueCount;

    /**
     * 待处理的问题数
     */
    private Integer pendingCount;

    /**
     * 已处理的问题数
     */
    private Integer resolvedCount;

    /**
     * 删除标志，0表示未删除，1表示已删除
     */
    private String delFlag;

    public void setSchoolId(Long schoolId) {
        this.schoolId = schoolId;
    }

    public Long getSchoolId() {
        return schoolId;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolType(Long schoolType) {
        this.schoolType = schoolType;
    }

    public Long getSchoolType() {
        return schoolType;
    }

    public String getSchoolTypeName() {
		return schoolTypeName;
	}

    public void setSchoolTypeName(String schoolTypeName) {
		this.schoolTypeName = schoolTypeName;
	}

    public void setRegionId(Long regionId) {
        this.regionId = regionId;
    }

    public Long getRegionId() {
        return regionId;
    }

    public String getRegionName() {
		return regionName;
	}

    public void setRegionName(String regionName) {
		this.regionName = regionName;
	}

    public void setSchoolAddress(String schoolAddress) {
        this.schoolAddress = schoolAddress;
    }

    public String getSchoolAddress() {
        return schoolAddress;
    }

    public void setSchoolPhone(String schoolPhone) {
        this.schoolPhone = schoolPhone;
    }

    public String getSchoolPhone() {
        return schoolPhone;
    }

    public void setIssueCount(Integer issueCount) {
        this.issueCount = issueCount;
    }

    public Integer getIssueCount() {
        return issueCount;
    }

    public Integer getPendingCount() {
		return pendingCount;
	}

    public void setPendingCount(Integer pendingCount) {
		this.pendingCount = pendingCount;
	}

    public Integer getResolvedCount() {
		return resolvedCount;
	}

    public void setResolvedCount(Integer resolvedCount) {
		this.resolvedCount = resolvedCount;
	}

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("schoolId", getSchoolId())
                .append("schoolName", getSchoolName())
                .append("schoolType", getSchoolType())
                .append("schoolTypeName", getSchoolTypeName())
                .append("regionId", getRegionId())
                .append("regionName", getRegionName())
                .append("schoolAddress", getSchoolAddress())
                .append("schoolPhone", getSchoolPhone())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("issueCount", getIssueCount())
                .append("pendingCount", getPendingCount())
                .append("resolvedCount", getResolvedCount())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
